package com.sysmanage.etl.controls;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.sysmanage.etl.model.ETL_Rule;
import com.sysmanage.framework.controls.struts2.BaseTg;

@Scope("prototype")
@Controller(value = "ruleTg")
public class RuleTg extends BaseTg {
	private static final long serialVersionUID = -5809256720203332315L;
	private ETL_Rule rule;

	public String index() {
		return "index";
	}
	
	/**
	 * 新增隐射关系
	 */
	public void save() {
		System.out.println(rule);
	}
	
	/**
	 * 删除隐射关系
	 */
	public void delete() {
		
	}
	
	/**
	 * 查询映射关系
	 */
	public void list() {
		
	}
	
	
	public ETL_Rule getRule() {
		return rule;
	}

	public void setRule(ETL_Rule rule) {
		this.rule = rule;
	}

}
